package com.jeesite.modules.rt.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.rt.entity.RtDeviceUpdown;
import com.jeesite.modules.rt.dao.RtDeviceUpdownDao;

/**
 * rt_device_updownService
 * @author 李寒冰
 * @version 2024-10-24
 */
@Service
public class RtDeviceUpdownService extends CrudService<RtDeviceUpdownDao, RtDeviceUpdown> {
	
	/**
	 * 获取单条数据
	 * @param rtDeviceUpdown
	 * @return
	 */
	@Override
	public RtDeviceUpdown get(RtDeviceUpdown rtDeviceUpdown) {
		return super.get(rtDeviceUpdown);
	}
	
	/**
	 * 查询分页数据
	 * @param rtDeviceUpdown 查询条件
	 * @param rtDeviceUpdown page 分页对象
	 * @return
	 */
	@Override
	public Page<RtDeviceUpdown> findPage(RtDeviceUpdown rtDeviceUpdown) {
		return super.findPage(rtDeviceUpdown);
	}
	
	/**
	 * 查询列表数据
	 * @param rtDeviceUpdown
	 * @return
	 */
	@Override
	public List<RtDeviceUpdown> findList(RtDeviceUpdown rtDeviceUpdown) {
		return super.findList(rtDeviceUpdown);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param rtDeviceUpdown
	 */
	@Override
	@Transactional
	public void save(RtDeviceUpdown rtDeviceUpdown) {
		super.save(rtDeviceUpdown);
	}
	
	/**
	 * 更新状态
	 * @param rtDeviceUpdown
	 */
	@Override
	@Transactional
	public void updateStatus(RtDeviceUpdown rtDeviceUpdown) {
		super.updateStatus(rtDeviceUpdown);
	}
	
	/**
	 * 删除数据
	 * @param rtDeviceUpdown
	 */
	@Override
	@Transactional
	public void delete(RtDeviceUpdown rtDeviceUpdown) {
		super.delete(rtDeviceUpdown);
	}
	
}